package com.th.supcom.pds.phamapply.client.widget.inpharmacyreturn;

import com.extjs.gxt.ui.client.widget.form.TextField;

/**
 * 住院药房退药文本域组件集合
 * 
 * @author yzhang
 */
public class InPharmacyReturnFields
{
    /** 电子退药单号 */
    private TextField <String> m_prescNoField;
    /** 姓名 */
    private TextField <String> m_patiNameField;
    /** 患者ID */
    private TextField <String> m_patiIdField;
    /** 性别 */
    private TextField <String> m_sexField;
    /** 床号 */
    private TextField <String> m_BedNoField;
    /** 入科时间 */
    private TextField <String> m_deptAdmissionDateField;
    /** 预交金 */
    private TextField <Double> m_prepaidField;
    /** 在院科室 */
    private TextField <String> m_deptAdmissionNameField;
    /** 费别名称 */
    private TextField <String> m_chargeTypeName;
    /** 就诊次数 */
    private TextField <Integer> m_watchTimes;
    /** 在科天数 */
    private TextField <Integer> m_deptAdmissionDays;

    /**
     * 构造方法
     */
    public InPharmacyReturnFields ()
    {
        createTextFields ();
    }

    private void createTextFields ()
    {
        m_prescNoField = new TextField <String> ();
        m_prescNoField.setFieldLabel ("电子退药单");

        m_patiNameField = new TextField <String> ();
        m_patiNameField.setFieldLabel ("姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名");
        m_patiNameField.setEnabled (false);

        m_patiIdField = new TextField <String> ();
        m_patiIdField.setFieldLabel ("患&nbsp;&nbsp;者&nbsp;&nbsp;I&nbsp;&nbsp;D");

        m_sexField = new TextField <String> ();
        m_sexField.setFieldLabel ("性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别");
        m_sexField.setEnabled (false);

        m_BedNoField = new TextField <String> ();
        m_BedNoField.setFieldLabel ("床&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号");
        m_BedNoField.setEnabled (false);

        m_deptAdmissionDateField = new TextField <String> ();
        m_deptAdmissionDateField.setFieldLabel ("入科时间");
        m_deptAdmissionDateField.setEnabled (false);

        m_prepaidField = new TextField <Double> ();
        m_prepaidField.setFieldLabel ("预交金");
        m_prepaidField.setEnabled (false);

        m_deptAdmissionNameField = new TextField <String> ();
        m_deptAdmissionNameField.setFieldLabel ("在院科室");
        m_deptAdmissionNameField.setEnabled (false);

        m_chargeTypeName = new TextField <String> ();
        m_chargeTypeName.setFieldLabel ("费别");
        m_chargeTypeName.setEnabled (false);

        m_watchTimes = new TextField <Integer> ();
        m_watchTimes.setFieldLabel ("就诊次数");
        m_watchTimes.setEnabled (false);

        m_deptAdmissionDays = new TextField <Integer> ();
        m_deptAdmissionDays.setFieldLabel ("在科天数");
        m_deptAdmissionDays.setEnabled (false);
    }

    /**
     * 获取电子退药单控件
     * 
     * @return
     */
    public TextField <String> getPrescNoField ()
    {
        return m_prescNoField;
    }

    /**
     * 获取病人姓名控件
     * 
     * @return
     */
    public TextField <String> getPatiNameField ()
    {
        return m_patiNameField;
    }

    /**
     * 获取病人ID控件
     * 
     * @return
     */
    public TextField <String> getPatiIdField ()
    {
        return m_patiIdField;
    }

    /**
     * 获取性别控件
     * 
     * @return
     */
    public TextField <String> getSexField ()
    {
        return m_sexField;
    }

    /**
     * 获取床号
     * 
     * @return
     */
    public TextField <String> getBedNoField ()
    {
        return m_BedNoField;
    }

    /**
     * 获取入科时间
     * 
     * @return
     */
    public TextField <String> getDeptAdmissionDateField ()
    {
        return m_deptAdmissionDateField;
    }

    /**
     * 获取在院科室
     * 
     * @return
     */
    public TextField <String> getDeptAdmissionNameField ()
    {
        return m_deptAdmissionNameField;
    }

    /**
     * 获取费别
     * 
     * @return
     */
    public TextField <String> getChargeTypeName ()
    {
        return m_chargeTypeName;
    }

    /**
     * 获取就诊次数
     * 
     * @return
     */
    public TextField <Integer> getWatchTimes ()
    {
        return m_watchTimes;
    }

    /**
     * 获取入科天数
     * 
     * @return
     */
    public TextField <Integer> getDeptAdmissionDays ()
    {
        return m_deptAdmissionDays;
    }

    /**
     * 获取预交金
     * 
     * @return
     */
    public TextField <Double> getPrepaidField ()
    {
        return m_prepaidField;
    }

}
